-
Notifications
You must be signed in to change notification settings - Fork 31
Add extended debug & performance optimized distro variants #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add `distrooverrides` to the INHERIT list to convert selected DISTRO_FEATURES into overrides with a matching name prefixed by `df-`. This simplifies writing .bb and .bbappend files that need to adjust task signatures or behavior when a given feature is enabled. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Add the qcom-distro-extended-debug distro variant, which enables builds with additional debugging features enabled through the `extended-debug` DISTRO_FEATURE. This variant is useful for enhanced debug instrumentation and tooling. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Add the qcom-distro-optimized-perf distro variant, which enables builds with performance optimization features through `optimized-perf` DISTRO_FEATURE. This variant is useful for boot-time improvements and other performance-critical optimizations. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
b721efb to
e2d2bbe
Compare
quaresmajose
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I think the overrides names are a bit long.
|
How is it going to be used? Do we have a meta-qcom counterpart? |
|
Right now, the purpose of this debug DISTRO is to enable |
Providing builds with debug options in CI is a non negotiable ask. Without this the whole automation setup around stability testing will fall flat. qualcomm-linux/meta-qcom#1400 demonstrates how debug distro is going to be used. Similarly for performance distro builds a few more additional kernel configs mentioned in this meta-qcom issue are going to be pulled in. I'll submit a PR for this as well. |
We should not be testing debug builds. The kernel debug options significantly change behaviour of the kernel itself. Those options are for kernel developers who will build their own kernel anyway. Everybody else should be using production builds. As a simple example, which kernel are you using on your machine? Does it have lockdep enabled? DEBUG_OBJECTS? DEBUG_VM? KASAN or anything similar? Most likely not.
From this issue, we should be setting "quiet" and use schedutil by default. The rest is invalid. |
@lumag , but what about the optimization shown as per this link? |
Which options are required to achieve those numbers? |
Attachemnt in the same link. |
This doesn't answer the question. Does Please work with the qcom-next, disabling options which actually significantly affect performance. |
Add
qcom-distro-extended-debugandqcom-distro-optimized-perfdistrovariants to enable builds with additional debugging and performance optimization
features respectively.